package com.qianyu.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianyu.project.entity.DeviceOilUsed;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 设备油耗表 服务类
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
public interface IDeviceOilUsedService extends IService<DeviceOilUsed> {

    /*
     * description: 查询有分页 <br/>
     * author: mfy   <br/>
     * date:  <br/>
     * params:  <br/>
     * return:
     */
    IPage<DeviceOilUsed> Mylist(Map<String, String> params);

    /*
     * description: 查询没分页 <br/>
     * author: mfy   <br/>
     * date:  <br/>
     * params:  <br/>
     * return:
     */
    List<DeviceOilUsed> listNopage(Map<String, String> params);

    /*
     * description: 添加 <br/>
     * author: mfy   <br/>
     * date:  <br/>
     * params:  <br/>
     * return:
     */
    Integer Mysave(DeviceOilUsed dou, Map<String, Object> params);

    void Myupdate(DeviceOilUsed dou, Map<String, Object> params);
}
